package cn.itsource.org.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data //实现多个功能，setter,getter,Tostring.....
@ApiModel("部门数据封装")
public class Department {
    private Long id;
    private String sn;//标识
    @ApiModelProperty(value = "部门名称",notes = "部门名称")
    private String name;
    private String dirPath;//路径
    private Integer state;//状态
    private Employee manager;//管理员
    private Department parent;//上级部门
}
